<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!doctype html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>爱尔向日葵计划-网上申请</title>

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="apple-mobile-web-app-status-bar-style" content="black">

<meta name="aplus-terminal" content="1"/>

<link href="/hyxt/m/mcss/style.css" rel="stylesheet" type="text/css">

<script language="javascript" src="js/jquery-1.7.1.min.js"></script>

<link rel="stylesheet" type="text/css" href="css/revealm.css">

<script src="/js/jquery.confirm.js"></script>

<script src="/js/script.js"></script>

<link rel="stylesheet" type="text/css" href="/css/jquerym.confirm.css" />

<script language="javascript" src="js/jquery.reveal.js"></script>

<script type="text/javascript">

  function viewArc(aid){

	  window.open("<?php echo $GLOBALS['cfg_phpurl']; ?>/viewm.php?aid="+aid);

  }

  function editArc(aid,channelid){

	  location = "xrkdbm_edit.php?channelid="+channelid+"&aid="+aid;

  }

 function delArc(aid){

	  if($.confirm({

			'title'		: '提示',

			'message'	: '你确定要删除这条申请记录吗？',

			'buttons'	: {

				'确认'	: {

					'class'	: 'blue',

					'action': function(){

						location="archives_dom.php?aid="+aid+"&dopost=delArc";

					}

				},

				'取消'	: {

					'class'	: 'gray',

					'action': function(){}	// Nothing to do in this case. You can as well omit the action property.

				}

			}

		})) location="archives_dom.php?aid="+aid+"&dopost=delArc";

  }

  function tjArc(aid){

	  if($.confirm({

			'title'		: '提示',

			'message'	: '提交后申请则不可以修改，你确定要提交这条申请吗？',

			'buttons'	: {

				'确认'	: {

					'class'	: 'blue',

					'action': function(){

						location="xrkdbm_tijiao.php?aid="+aid+"&dopost=save";

					}

				},

				'取消'	: {

					'class'	: 'gray',

					'action': function(){}	// Nothing to do in this case. You can as well omit the action property.

				}

			}

		})) location="xrkdbm_tijiao.php?aid="+aid+"&dopost=save";

  }

</script>

</head>

<body>

<div class="banner">

	<div class="images">

<a href="#" data-reveal-id="myModal2" data-animation="none" >

 <?php 

 $face = $cfg_ml->fields['face'];

     if($face!=''){ echo "<img   src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);cursor:pointer'  />\r\n";

	 }

  else echo "<img   src='/hyxt/pc/images/img_01.png' style='_margin-top:expression(( 180 - this.height ) / 2);cursor:pointer'   />\r\n";	

       			?>   </a>       

    </div>

    <p class="name"><script type="text/javascript">

           	var now=(new Date()).getHours();

			if(now>0&&now<=6){

				document.write("午夜好，");

			}

			else if(now>6&&now<=9){

				document.write("早上好，");

			}

			else if(now>9&&now<=11){

				document.write("上午好，");

			}else if(now>11&&now<=14){

				document.write("中午好，");

			}else if(now>14&&now<=18){

				document.write("下午好，");

			}else{

				document.write("晚上好，");

			}

			</script><?php echo $cfg_ml->M_UserName?>，<a href="../member/index_dom_xrk.php?fmdo=login&dopost=exit#">[退出]</a></p>

</div>

<div class="main">

	<div class="member-tab wssq-tab">

	<ul class="member-menu" style="width:6.78rem;">

        	<li><a href="indexm_xrksq.php"  target="_self"   >网上申请</a></li>

        	<li><a href="content_listm_xrk.php?channelid=25"  target="_self" class="member-on" >信息管理</a></li>

        	<li><a href="zhuangtai_listm_xrk.php?channelid=25"  target="_self"   >状态查询</a></li>

    	<li><a  href="edit_baseinfom_xrk.php?channelid=25"  target="_self"   >账户信息</a></li>

    </ul>

    <div class="member-bot wssq-bot">
<!-- <img src="/images/3buzhou.png"  width="100%"/> -->
		<link rel="stylesheet" type="text/css" href="/hyxt/model-head20211227/css/m-jz.css"/>
		<div class="buzhou">
			<h1>网上申请<span id="title-3">3</span>步骤</h1>
			<div style="clear: both;"></div>
			<ul>
				<li class="buzhou1">
					<img src="/hyxt/model-head20211227/images/buzhou1.png" alt="步骤1">
					<p>在“网上申请”页面分布填写信息并保存，可以对已填写信息进行修改，缺少的信息进行补填。</p>
				</li>
				<div class="jiantou1 jiantou">
					<img src="/hyxt/model-head20211227/images/jindu.png" >
				</div>
				<li class="buzhou2">
					<img src="/hyxt/model-head20211227/images/buzhou2.png" alt="步骤2">
					<p>申请表填写完成，确认没问题后，在“信息管理”页点击“提交”按钮提交申请。<span id="zhu">注：申请表提交后则不可以对信息进行任何修改。</span></p>
				</li>
				<div class="jiantou2 jiantou">
					<img src="/hyxt/model-head20211227/images/jindu.png" >
				</div>
				<li class="buzhou3">
					<img src="/hyxt/model-head20211227/images/buzhou3.png" alt="步骤4">
					<p>由工作人员审核筛查申请信息，最终审核结果会在“状态查询”页显示。</p>
				</li>
			</ul>
			<div style="clear: both;"></div>
		</div>
		<div style="clear: both;"></div>

    	 	<div class="xxxg">
                      <DIV style="width:7rem;margin:0 auto; line-height:300%; color:#FF0000">注意：在提交前，请把之前填写不完整或填写错误的表格删除。</DIV>
            	<ul>

				<?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>  

		 <li>

                    	<div class="xm-title"><?php echo $fields['typename']; ?></div>

                        <p><time>申请时间：<?php echo GetDateMk($fields['senddate']); ?></time><time>受助人：<?php echo $fields['title']; ?></time></p>

                        <div class="xm-btn">

                        	<?php

 if($fields['tijiao']!='1')

{

?><a href="javascript:tjArc(<?php echo $fields['id']?>);" class="tj" >提交</a>

 <?php

}

else

{

	echo "<a class='tj1' >提交</a>";

}

?> 

                        	<a href="<?php echo $cfg_phpurl; ?>/viewm.php?aid=<?php echo $fields['id']; ?>">预览</a>

                        <?php

 if($fields['tijiao']!='1' && $fields['zhuangtai']!='材料补充中')

{

?>

				<a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);"   >修改</a> <a href="javascript:delArc(<?php echo $fields['id']?>);"   >删除</a>

  <?php

}

else if($fields['zhuangtai']=='材料补充中'){

?>		<a href="javascript:editArc(<?php echo $fields['id']?>,<?php echo $fields['channel']?>);"   >修改</a> 		

				<?php

}

else

{

	echo "";

}

?>  

                        </div>

                    </li>

         <?php
}
}?>

                </ul>

            </div>         

       <br/><br/><br/><br/>

    </div>

 </div>

</div>

 <script type="text/javascript">

$(".main-form p").click(function(){

		$(this).next("form").slideToggle(300).siblings("form").slideUp(300);

	})

$(".main-nav ul li a").click(function(){

	$('.main-nav ul li a').removeClass('on')

	 $(this).addClass('on')

	})

</script>

 <!--弹窗开始-->

<div id="myModal2" class="reveal-modal">

<div class="center">

<p class="title" style="display:none;">更换头像</p>

<form action="edit_face.php" method="post" enctype="multipart/form-data" name="form1">

    <input type="hidden" name="dopost" value="save" />

      <div id="mainCp">

        <h3 class="meTitle"><strong>用户头像</strong></h3>



        <div class="postForm">

          <p>

            <label style="display:none;">选择上传的文件：</label>

            <input name="face" type="file" id="face" size="45" />

          </p>

          <p class="cellBg">

            <label style="width:90px"><b>原来的头像：</b></label>

            <div id='faceview' class='overflow mTB10 litPic'>

                 <?php

       					if($face!='') echo " <img class='' src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);' />\r\n";

       			?>

              </div>

          </p>

          <p>

            <button class="export" type="submit">&nbsp;&nbsp;&nbsp;&nbsp;更&nbsp;&nbsp;新&nbsp;&nbsp;&nbsp;&nbsp;</button>

          </p>

    </div>



 </div>

</form> 

</div>

</div>

<!--弹窗结束-->

</body>

</html>